package com.lagou.edu.service.impl;

import com.lagou.edu.dao.OrderDao;
import com.lagou.edu.pojo.Order;
import com.lagou.edu.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public boolean saveOrder() {
        Order order = new Order();
        order.setCompanyId("1");
        order.setCreateTime("");
        order.setUpdateTime("");
        order.setIsDel("0");
        order.setPublishUserId("1");
        order.setUserId("1");
        order.setResumeType("1");
        order.setPositionId("");
        order.setStatus("0");
        orderDao.save(order);
        return true;
    }
}
